/*
 * @Author        : wang chao
 * @Date          : 2024-03-27 14:48:38
 * @LastEditors: wangchao
 * @LastEditTime: 2025-06-05 12:53:33
 * @FilePath: \UX6_ATE-RDO\modbus\config_vbc_rtu_mb.h
 * @Description   :
 * @Copyright     : Copyright 2024 wang chao, All Rights Reserved.
 */
#ifndef _CONFIG_VBC_RTU_MB_H
#define _CONFIG_VBC_RTU_MB_H
/*
 *  RTTHREAD PORT
 */
#define VBC_RTU_MODBUS_RTTHREAD            1u
#define VBC_RTU_MODBUS_RTTHREAD_USE_DEVICE 1u
#if VBC_RTU_MODBUS_RTTHREAD
#include "vbc_rtu_mb_port_rtthread.h"
#endif

#define VBC_RTU_MODBUS_CRC_BYTE_SWAP 0u

/*
 *  USER CONFIG
 */
#define VBC_RTU_SLAVE_ADDR        1u
#define VBC_RTU_UART_DEVICE_NAME  "uart5"
#define VBC_RTU_THREAD_STACK_SIZE 1024u
#define VBC_RTU_THREAD_PRIORITY   12u
#define VBC_RTU_THREAD_TICKS      15u
#endif
/* __CONFIG_VBC_MODBUS_H__ */
